package com.atguigu.yygh.hosp.repository;/*
 * @author: XueYouPeng
 * @time: 2023/6/9 15:14
 */

import com.atguigu.yygh.model.hosp.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface HospitalRepository extends MongoRepository<Hospital,String> {
    Hospital findByHoscode(String hoscode);
}
